//
//  WD_RecomModel.m
//  BUDING
//
//  Created by HanWoonYong on 16/4/3.
//  Copyright © 2016年 HanWoonYong. All rights reserved.
//

#import "WD_RecomModel.h"
#import "WD_RecomEpsModel.h"
@implementation WD_RecomModel
- (instancetype)initWithDataSource:(NSDictionary *)dataSource
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dataSource];
        NSMutableArray *array = [NSMutableArray arrayWithCapacity:0];
        for (NSDictionary *dic in self.eps) {
            WD_RecomEpsModel *recomEqsModel = [[WD_RecomEpsModel alloc] init];
            [recomEqsModel setValuesForKeysWithDictionary:dic];
            [array addObject:recomEqsModel];
        }
        self.eps = [NSArray arrayWithArray:array];
    }
    return self;
}
@end
